package com.youzhi.backend.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("树节点")
public class TreeNode {

    @ApiModelProperty("权限id")
    private Long id;

    @ApiModelProperty("权限code")
    private String code;

    @ApiModelProperty("权限名称")
    private String label;

    @ApiModelProperty("子权限集合")
    private List<TreeNode> children;


}
